<!DOCTYPE html>
<html>
<head>
  <meta charset="utf-8">
  <title>会员提现订单</title>
  <meta name="renderer" content="webkit">
  <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
  <meta name="viewport" content="width=device-width, initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0, user-scalable=0">
  #parse('/headFiles.html')
</head>
<body>
<div class="layui-fluid layui-form" wid100>
  <input type="hidden" name="tradeNo" value="$!{tradeNo}"/>
  <input type="hidden" name="createDate" value="$!{utils.dateFormat($createDate,'yyyy-MM-dd HH:mm:ss')}"/>
  <div class="layui-card">
    <div class="layui-card-header">订单基础信息</div>
    <div class="layui-card-body">
       <div class="layui-row">
         <div class="layui-col-md4">
           <div class="layui-form-item">
              <label class="layui-form-label">订单编号</label>
              <div class="layui-form-mid layui-word-aux">$!{tradeNo}</div>
           </div>
         </div>
         <div class="layui-col-md4">
           <div class="layui-form-item">
             <label class="layui-form-label">订单状态</label>
             <div class="layui-form-mid layui-word-aux">$!{stateName}</div>
           </div>
         </div>
       </div>
       <div class="layui-row">
         <div class="layui-col-md4">
           <div class="layui-form-item">
             <label class="layui-form-label">会员ID</label>
             <div class="layui-form-mid layui-word-aux">$!{memberId}</div>
           </div>
         </div>
         <div class="layui-col-md4">
           <div class="layui-form-item">
             <label class="layui-form-label">会员名称</label>
             <div class="layui-form-mid layui-word-aux">$!{memberName}</div>
           </div>
         </div>
         <div class="layui-col-md4">
           <div class="layui-form-item">
             <label class="layui-form-label">会员手机号</label>
             <div class="layui-form-mid layui-word-aux">$!{memberPhone}</div>
           </div>
         </div>
       </div>
       <div class="layui-row">
            <div class="layui-col-md4">
              <div class="layui-form-item">
                <label class="layui-form-label">提现金额</label>
                <div class="layui-form-mid layui-word-aux">$!{moneyStr}元</div>
              </div>
            </div>
         <div class="layui-col-md4">
           <div class="layui-form-item">
             <label class="layui-form-label">手续费</label>
             <div class="layui-form-mid layui-word-aux">$!{profitProportion}%</div>
           </div>
         </div>
         <div class="layui-col-md4">
           <div class="layui-form-item">
             <label class="layui-form-label">实收金额</label>
             <div class="layui-form-mid layui-word-aux">$!{receiptMoneyStr}元</div>
           </div>
         </div>
      </div>
      <div class="layui-row">
        <div class="layui-col-md4">
          <div class="layui-form-item">
            <label class="layui-form-label">支付类型</label>
            <div class="layui-form-mid layui-word-aux">$!{payTypeName}</div>
          </div>
        </div>
        <div class="layui-col-md4">
          <div class="layui-form-item">
            <label class="layui-form-label">最后修改</label>
            <div class="layui-form-mid layui-word-aux">$!{utils.dateFormat($updateDate,'yyyy-MM-dd HH:mm:ss')}</div>
          </div>
        </div>
        <div class="layui-col-md4">
          <div class="layui-form-item">
            <label class="layui-form-label">创建时间</label>
            <div class="layui-form-mid layui-word-aux">$!{utils.dateFormat($createDate,'yyyy-MM-dd HH:mm:ss')}</div>
          </div>
        </div>
      </div>
      <div class="layui-row">
        #if($handleDate)
        <div class="layui-col-md4">
          <div class="layui-form-item">
            <label class="layui-form-label">处理时间</label>
            <div class="layui-form-mid layui-word-aux">$!{utils.dateFormat($handleDate,'yyyy-MM-dd HH:mm:ss')}</div>
          </div>
        </div>
        #end
        #if($rejectNote)
        <div class="layui-col-md4">
          <div class="layui-form-item">
            <label class="layui-form-label">驳回原因</label>
            <div class="layui-form-mid layui-word-aux">$!{rejectNote}</div>
          </div>
        </div>
        #end
      </div>
    </div><!-- /.layui-card-body -->
  </div><!-- /.layui-card -->
  #if($transferMoneyOrder)
  <div class="layui-card">
    <div class="layui-card-header">第三方转账订单</div>
    <div class="layui-card-body">
      <div class="layui-row">
        <div class="layui-col-md4">
          <div class="layui-form-item">
            <label class="layui-form-label">第三方订单</label>
            #if($transferMoneyOrder.externalTradeNo)
            <div class="layui-form-mid layui-word-aux">$!{transferMoneyOrder.externalTradeNo}</div>
            #else
            <div class="layui-form-mid layui-word-aux">未触发</div>
            #end
          </div>
        </div>
        <div class="layui-col-md4">
          <div class="layui-form-item">
            <label class="layui-form-label">转账账号</label>
            <div class="layui-form-mid layui-word-aux">$!{transferMoneyOrder.transferAccount}</div>
          </div>
        </div>
        <div class="layui-col-md4">
          <div class="layui-form-item">
            <label class="layui-form-label">订单描述</label>
            <div class="layui-form-mid layui-word-aux">$!{transferMoneyOrder.note}</div>
          </div>
        </div>
      </div>
      <div class="layui-row">
        <div class="layui-col-md3">
          <div class="layui-form-item">
            <label class="layui-form-label">应用类型</label>
            <div class="layui-form-mid layui-word-aux">$!{transferMoneyOrder.appTypeName}</div>
          </div>
        </div>
        <div class="layui-col-md4">
          <div class="layui-form-item">
            <label class="layui-form-label">应用ID</label>
            <div class="layui-form-mid layui-word-aux">$!{transferMoneyOrder.appId}</div>
          </div>
        </div>
        <div class="layui-col-md5">
          <div class="layui-form-item">
            <label class="layui-form-label">第三方ID</label>
            <div class="layui-form-mid layui-word-aux">$!{transferMoneyOrder.openId}</div>
          </div>
        </div>
      </div>
      <div class="layui-row">
        <div class="layui-col-md3">
          <div class="layui-form-item">
            <label class="layui-form-label">用户头像</label>
            <div class="layui-form-mid layui-word-aux"><img src="$!{transferMoneyOrder.faceImg}" style="width:50px;"></div>
          </div>
        </div>
        <div class="layui-col-md3">
          <div class="layui-form-item">
            <label class="layui-form-label">会员昵称</label>
            <div class="layui-form-mid layui-word-aux">$!{transferMoneyOrder.nickname}</div>
          </div>
        </div>
        <div class="layui-col-md3">
          <div class="layui-form-item">
            <label class="layui-form-label">会员姓名</label>
            <div class="layui-form-mid layui-word-aux">$!{transferMoneyOrder.name}</div>
          </div>
        </div>
        <div class="layui-col-md3">
          <div class="layui-form-item">
            <label class="layui-form-label">手机号</label>
            <div class="layui-form-mid layui-word-aux">$!{transferMoneyOrder.phone}</div>
          </div>
        </div>
      </div>
      <div class="layui-row">
        <div class="layui-col-md4">
          <div class="layui-form-item">
            <label class="layui-form-label">订单结果</label>
            <div class="layui-form-mid layui-word-aux">$!{transferMoneyOrder.transferStatusName}</div>
          </div>
        </div>
        <div class="layui-col-md4">
          <div class="layui-form-item">
            <label class="layui-form-label">修改时间</label>
            <div class="layui-form-mid layui-word-aux">$!{utils.dateFormat($transferMoneyOrder.updateDate,'yyyy-MM-dd HH:mm:ss')}</div>
          </div>
        </div>
        <div class="layui-col-md4">
          <div class="layui-form-item">
            <label class="layui-form-label">创建时间</label>
            <div class="layui-form-mid layui-word-aux">$!{utils.dateFormat($transferMoneyOrder.createDate,'yyyy-MM-dd HH:mm:ss')}</div>
          </div>
        </div>
      </div>
      #if($transferMoneyOrder.externalContent)
      <div class="layui-row">
        <div class="layui-col-md12">
          <div class="layui-form-item">
            <label class="layui-form-label">第三方内容</label>
            <div class="layui-form-mid layui-word-aux">$!{transferMoneyOrder.externalContent}</div>
          </div>
        </div>
      </div>
      #end
    </div>
  </div>
  #end
  #foreach($refundOrder in $refundOrderList)
	<div class="layui-card layui-form" wid100>
	   <div class="layui-card-header">
	   		退款信息
	   		<div style="float: right">
        		<button class="layui-btn layui-btn-sm LAY-btn-fun" data-type="synRefundOrder" data-tradeno="$!{refundOrder.tradeNo}">同步退款订单</button>
      		</div>
	   	</div>
	   <div class="layui-card-body">
	       <div class="layui-row">
	           <div class="layui-col-sm4">
	               <div class="layui-form-item">
	                   <label class="layui-form-label">退款订单</label>
	                   <div class="layui-input-block">
	                       <div class="layui-form-mid layui-word-aux">$!{refundOrder.tradeNo}</div>
	                   </div>
	               </div>
	           </div>
	           <div class="layui-col-sm4">
	               <div class="layui-form-item">
	                   <label class="layui-form-label">充值订单</label>
	                   <div class="layui-input-block">
	                       <div class="layui-form-mid layui-word-aux">$!{refundOrder.rechargeTradeNo}</div>
	                   </div>
	               </div>
	           </div>
	           <div class="layui-col-sm4">
	               <div class="layui-form-item">
	                   <label class="layui-form-label">支付类型</label>
	                   <div class="layui-input-block">
	                       <div class="layui-form-mid layui-word-aux">$!{refundOrder.payTypeName}</div>
	                   </div>
	               </div>
	           </div>
	       </div>
	       <div class="layui-row">
	           <div class="layui-col-sm4">
	               <div class="layui-form-item">
	                   <label class="layui-form-label">退款金额</label>
	                   <div class="layui-input-block">
	                       <div class="layui-form-mid layui-word-aux">$!{refundOrder.refundMoneyStr}元</div>
	                   </div>
	               </div>
	           </div>
	           <div class="layui-col-sm4">
	               <div class="layui-form-item">
	                   <label class="layui-form-label">退款状态</label>
	                   <div class="layui-input-block">
	                       <div class="layui-form-mid layui-word-aux">$!{refundOrder.refundStateName}</div>
	                   </div>
	               </div>
	           </div>
			   #if($refundOrder.refundDate)
			   <div class="layui-col-sm4">
                  <div class="layui-form-item">
                      <label class="layui-form-label">退款时间</label>
                      <div class="layui-input-block">
                          <div class="layui-form-mid layui-word-aux">$!{utils.dateFormat($refundOrder.refundDate,'yyyy-MM-dd HH:mm:ss')}</div>
                      </div>
                  </div>
              </div>
			  #end
	       </div>
	   </div>
	</div>
	#end
  <div class="layui-card">
    <div class="layui-card-header">操作记录</div>
    <div class="layui-card-body">
      <table id="LAY-table" lay-filter="LAY-table"></table>
    </div>
  </div>
</div>
#parse('/footFiles.html')
<script>
layui.config({
  base: '$!{webRoot}/layuiadmin/'
  ,webRoot:'$!{webRoot}'
  ,resDomain:'$!{resDomain}'
}).extend({
  index: 'lib/index'
  ,member_transfer_money_order_info:'member/member_transfer_money_order_info'
}).use(['index', 'form','member_transfer_money_order_info'])
</script>
</body>
</html>